package day9;

import java.io.File;
import java.util.Arrays;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileSize {
    public static void main(String[] args) {
        File f=new File("D:\\Documents\\桌面\\ssssssssssss");
        System.out.println("Daxiao:"+f.length());
        File f2=new File("D:\\Documents\\桌面\\addSub.jsp");
        File[] files = f2.listFiles();
        System.out.println(Arrays.toString(files));
//        for(File t:files)
//            System.out.println(t);
    }
}
